# from django.urls import re_path, path
# from rest_framework.routers import DefaultRouter
# from . import views

# app_name = 'users'
# # urlpatterns = [
# #     re_path("^$", views.list, name="list"),
# #     path("add/", views.add, name="add"),
# #     re_path(r"update/(?P<pk>\d+)", views.update, name="update"),
# #     path("clazz/<int:pk>", views.clazz, name="clazz"),
# # ]
#
# urlpatterns = [
#     path("<int:pk>", views.UserView.as_view, name="detail"),
#     path("index/", views.UserView.as_view, name="index"),
#
# ]

#
# router = DefaultRouter()
# router.register(r'')